package com.decorator;

class SsoInterceptor implements HandlerInterceptor{
    public boolean preHandle(String request, String response, Object
            handler) {
        System.out.println("调用super kksk");
        // 模拟获取cookie
        String ticket = request.substring(1, 8);
        // 模拟校验
        return ticket.equals("success");
    }
}
